package demo.mq.rocket.vo;

import com.alibaba.fastjson.JSON;

/**
 * 
 * @author junying.han
 *
 */
public class GroupInfo {

    /**
     * 组名
     */
    private String group;
    /** 版本 */
    private String version;
    /** 数量 */
    private Integer count;
    /** 类型：如CONSUME_PASSIVELY 、CONSUME_ACTIVELY */
    private String consumeType;
    /** 模式：如 CLUSTERING */
    private String messageModel;
    /** 消费速率TPS */
    private Integer consumeTps;
    /** 延迟数 */
    private Integer diffTotal;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getConsumeType() {
        return consumeType;
    }

    public void setConsumeType(String consumeType) {
        this.consumeType = consumeType;
    }

    public String getMessageModel() {
        return messageModel;
    }

    public void setMessageModel(String messageModel) {
        this.messageModel = messageModel;
    }

    public Integer getConsumeTps() {
        return consumeTps;
    }

    public void setConsumeTps(Integer consumeTps) {
        this.consumeTps = consumeTps;
    }

    public Integer getDiffTotal() {
        return diffTotal;
    }

    public void setDiffTotal(Integer diffTotal) {
        this.diffTotal = diffTotal;
    }

}
